package cn.ihoway.service;

import cn.ihoway.entity.Allocation;
import cn.ihoway.entity.Room;

public interface RoomService {
    int create(Room room, Allocation allocation);
    int joinRoom(Room room, Allocation allocation);
    int exitRoom(Room room,Integer id);
    Room search(String id);
    int update(Room room);
}
